package com.gdk.subject.domain.convert;

import com.gdk.subject.domain.entity.SubjectLabelBO;
import com.gdk.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import javax.security.auth.Subject;
import java.util.List;

/**
 * @author Gudong~
 * @create 2024-10-21 16:01
 */

@Mapper
public interface SubjectLabelConverter {

    SubjectLabelConverter INSTANCE = Mappers.getMapper(SubjectLabelConverter.class);

    SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBO);

    List<SubjectLabelBO> convertLabelToBoList(List<SubjectLabel> subjectLabelList);

}
